package com.itheima.a04;

import org.springframework.core.env.StandardEnvironment;


public class StandardEnvironmentDemo {

    public static void main(String[] args) {
        StandardEnvironment standardEnvironment = new StandardEnvironment();
        String java_home_var = "${java_home}";
        System.out.println(standardEnvironment.resolvePlaceholders(java_home_var));


        String java_version_var = "${java_version}";
        System.out.println(standardEnvironment.resolvePlaceholders(java_version_var));



    }
}
